import { handleDataStr } from '@/util/index'

const nameStr = `
groupId
companyId
allocationNumber
dateTrx
dateAcct
bpartnerReceipt
bpartnerInvoice
suretyUser
currencyCode
receiptAmount
invoiceAmount
uncollectibleAmt
discountamt
receiptNumber
invoiceNumber
payscheduleUcode
payscheduleLine
payscheduleDaycal
payscheduleAmount
shipmentId
saleorderNumber
ismanual
docstatus
receiptType
invoiceType
dataFrom
createBy
createDate
modifyBy
modifyDate
`

const chineseNameStr = `
集团ID
公司ID
核销单号
业务日期
记账日期 
应收单客户ID
收款单客户ID
担保人
币别
收款单金额 
应收单金额
坏账金额 
折扣金额 
收款单号 
应收单号码 
收款计划编码
行号
到期日计算方式
收款计划金额
发货单号
销售单号 
手动 
单据状态
收款单类型 
应收单类型
数据来源
创建人 
创建时间 
更新人 
更新时间 
`

export default handleDataStr(nameStr, chineseNameStr)

// const tableConfig = [
//   { "name": "allocationNumber", "chineseName": "核销单号", "lang": "erp.financial.allocationNumber" },
//   { "name": "receiptAmount", "chineseName": "收款单金额 ", "lang": "erp.financial.receiptAmount" },
//   { "name": "invoiceAmount", "chineseName": "应收单金额", "lang": "erp.financial.invoiceAmount" },
//   { "name": "uncollectibleAmt", "chineseName": "坏账金额 ", "lang": "erp.financial.uncollectibleAmt" },
//   { "name": "discountamt", "chineseName": "折扣金额 ", "lang": "erp.financial.discountamt" },
//   { "name": "receiptNumber", "chineseName": "收款单号 ", "lang": "erp.financial.receiptNumber" },
//   { "name": "invoiceNumber", "chineseName": "应收单号码 ", "lang": "erp.financial.invoiceNumber" },
//   { "name": "bpartnerReceipt", "chineseName": "应收客户", "lang": "erp.financial.bpartnerReceipt" },
//   { "name": "currencyCode", "chineseName": "币别", "lang": "erp.financial.currencyCode" },
//   { "name": "paymentMethod", "chineseName": "结算方式", "lang": "erp.financial.paymentMethod" },
//   { "name": "dateTrx", "chineseName": "业务日期", "lang": "erp.financial.dateTrx" },

// ]
// const formConfig = [
//   { "name": "allocationNumber", "chineseName": "核销单号", "lang": "erp.financial.allocationNumber" },
//   { "name": "receiptAmount", "chineseName": "收款单金额 ", "lang": "erp.financial.receiptAmount" },
//   { "name": "invoiceAmount", "chineseName": "应收单金额", "lang": "erp.financial.invoiceAmount" },
//   { "name": "uncollectibleAmt", "chineseName": "坏账金额 ", "lang": "erp.financial.uncollectibleAmt" },
//   { "name": "discountamt", "chineseName": "折扣金额 ", "lang": "erp.financial.discountamt" },
//   { "name": "receiptNumber", "chineseName": "收款单号 ", "lang": "erp.financial.receiptNumber" },
//   { "name": "invoiceNumber", "chineseName": "应收单号码 ", "lang": "erp.financial.invoiceNumber" },
//   { "name": "bpartnerReceipt", "chineseName": "应收客户", "lang": "erp.financial.bpartnerReceipt" },
//   { "name": "currencyCode", "chineseName": "币别", "lang": "erp.financial.currencyCode" },
//   { "name": "paymentMethod", "chineseName": "结算方式", "lang": "erp.financial.paymentMethod" },
//   { "name": "dateTrx", "chineseName": "业务日期", "lang": "erp.financial.dateTrx" },
// ]
